<?php
require_once('php/connection.php');

echo '<div style="height:100%;overflow:auto" id="right-pane-content">';

if($user)
{
 	if($_GET['cat'] == "msg")
	{
		if(isset($_GET['fbid']))
			$fbid = $_GET['fbid'];
		
		include("php/sidebar/inbox_sidebar.php");		
	}
	else { 
		include("php/sidebar/home_sidebar.php");
	}
}
else
{
?>
<div class="sidebar-box" style="padding:10px;">

<!-- Place this tag where you want the +1 button to render -->
<g:plusone size="tall" annotation="inline" width="250" href="http://gausipp.com"></g:plusone>

<!-- Place this render call where appropriate -->
<script type="text/javascript">
  (function() {
    var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
    po.src = 'https://apis.google.com/js/plusone.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
  })();
</script>

<br><br>
<div style="background:#fff;width:250px">
<iframe src="//www.facebook.com/plugins/likebox.php?href=https%3A%2F%2Fwww.facebook.com%2Fpages%2FGausippcom%2F331504703532522&amp;width=250&amp;height=250&amp;colorscheme=light&amp;show_faces=true&amp;border_color&amp;stream=false&amp;header=false&amp;appId=121250027990936" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:250px; height:250px;" allowTransparency="true"></iframe>
</div>
</div>
<?php
}
	echo '</div>';	
?>